import "../styles/globals.css";
import type { AppProps } from "next/app";
import Header from "../components/Header";

function MyApp({ Component, pageProps }: AppProps) {
  return (
    <>
      <Header />
      {/* 就是渲染路由组件 */}
      <div style={{ marginTop: 60 }}>
        <Component {...pageProps} />
      </div>
    </>
  );
}

export default MyApp;
